package com.ruoyi.hatha.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 轮播管理对象 p_banner
 * 
 * @author ruoyi
 * @date 2023-12-30
 */
public class PBanner extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 图片 */
    @Excel(name = "图片")
    private String pic;

    /** 按钮文字 */
    @Excel(name = "按钮文字")
    private String btntext;

    /** 跳转课程 */
    @Excel(name = "跳转课程")
    private Long kcid;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPic(String pic) 
    {
        this.pic = pic;
    }

    public String getPic() 
    {
        return pic;
    }
    public void setBtntext(String btntext) 
    {
        this.btntext = btntext;
    }

    public String getBtntext() 
    {
        return btntext;
    }
    public void setKcid(Long kcid) 
    {
        this.kcid = kcid;
    }

    public Long getKcid() 
    {
        return kcid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("pic", getPic())
            .append("btntext", getBtntext())
            .append("kcid", getKcid())
            .toString();
    }
}
